package com.wicket.okrbff.web.contorller;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrbff.biz.service.WorkTasksService;
import com.wicket.okrbff.biz.service.dto.req.*;
import com.wicket.okrbff.biz.service.dto.res.*;
import com.wicket.okrbff.common.ro.OkrResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.wicket.okrapp.integration.FwAppWorkTasksClient;
import com.wicket.okrapp.integration.dto.QueryWorkTaskListRespDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskListReqDto;
import com.wicket.okrapp.integration.FwAppVirtualOrgClient;
import com.wicket.okrapp.integration.dto.BatchQueryVirtualOrgMemberComBorderRespDto;
import com.wicket.okrapp.integration.dto.BatchQueryVirtualOrgMemberComBorderReqDto;
import com.wicket.okrframework.integration.FwBaseMemberClient;
import com.wicket.okrframework.integration.dto.BatchQueryMemberProfileListByIdsComRespDto;
import com.wicket.okrframework.integration.dto.BatchQueryMemberProfileListByIdsComReqDto;
import com.wicket.okrbff.biz.service.dto.common.BffWorkTaskDto;
import java.util.stream.Collectors;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrbff.common.exception.Assert;
import com.wicket.okrapp.integration.dto.AddProjectComRespDto;
import com.wicket.okrapp.integration.dto.AddProjectComReqDto;
import com.wicket.okrapp.integration.dto.AddIndependentTaskComRespDto;
import com.wicket.okrapp.integration.dto.AddIndependentTaskComReqDto;
import com.wicket.okrapp.integration.FwAppMessageClient;
import com.wicket.okrapp.integration.dto.ImplementGenerateWorkTaskNewMsgComRespDto;
import com.wicket.okrapp.integration.dto.ImplementGenerateWorkTaskNewMsgComReqDto;
import com.wicket.okrapp.integration.dto.QueryProjectDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryProjectDetailComReqDto;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrframework.integration.dto.QueryInductionRecordInfoDetailComRespDto;
import com.wicket.okrframework.integration.dto.QueryInductionRecordInfoDetailComReqDto;
import com.wicket.okrbff.common.util.CommonFunctionHelper;
import com.wicket.okrapp.integration.dto.DeleteProjectRespDto;
import com.wicket.okrapp.integration.dto.DeleteProjectReqDto;
import com.wicket.okrapp.integration.dto.ArchiveProjectRespDto;
import com.wicket.okrapp.integration.dto.ArchiveProjectReqDto;
import com.wicket.okrapp.integration.dto.UpdateProjectComRespDto;
import com.wicket.okrapp.integration.dto.UpdateProjectComReqDto;
import com.wicket.okrapp.integration.dto.UpdateIndependentTaskComRespDto;
import com.wicket.okrapp.integration.dto.UpdateIndependentTaskComReqDto;
import com.wicket.okrapp.integration.dto.QueryIndependentTaskDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryIndependentTaskDetailComReqDto;
import com.wicket.okrapp.integration.dto.DeleteIndependentTaskRespDto;
import com.wicket.okrapp.integration.dto.DeleteIndependentTaskReqDto;
import com.wicket.okrapp.integration.dto.ArchiveIndependentTaskRespDto;
import com.wicket.okrapp.integration.dto.ArchiveIndependentTaskReqDto;
import com.wicket.okrapp.integration.dto.CommitReportWorkTaskProgressComRespDto;
import com.wicket.okrapp.integration.dto.CommitReportWorkTaskProgressComReqDto;
import com.wicket.okrapp.integration.dto.ImplementWorkTaskTypeMutualContTypeComRespDto;
import com.wicket.okrapp.integration.dto.ImplementWorkTaskTypeMutualContTypeComReqDto;
import com.wicket.okrapp.integration.dto.ImplementAsyncRefreshWorkContOverdueRelateComRespDto;
import com.wicket.okrapp.integration.dto.ImplementAsyncRefreshWorkContOverdueRelateComReqDto;
import com.wicket.okrapp.integration.dto.WorkTaskObjectTypeDto;
import com.wicket.okrapp.integration.dto.AddProjectBusinessProcessingComRespDto;
import com.wicket.okrapp.integration.dto.AddProjectBusinessProcessingComReqDto;
import com.wicket.okrbff.biz.service.dto.common.BffVirtualOrgMemberDto;
import com.wicket.okrcomponent.integration.FwCompMessageClient;
import com.wicket.okrapp.integration.dto.ObtainTopMidBasicScenePowerRespDto;
import com.wicket.okrapp.integration.dto.ObtainTopMidBasicScenePowerReqDto;
import com.wicket.okrcomponent.integration.dto.ImplementIniWorkTaskMsgLocationByLoginComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementIniWorkTaskMsgLocationByLoginComReqDto;
import com.wicket.okrcomponent.integration.dto.ImplementIniProblemMsgLocationByLoginComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementIniProblemMsgLocationByLoginComReqDto;
import com.wicket.okrapp.integration.dto.AddIndependentTaskBusinessProcessingComRespDto;
import com.wicket.okrapp.integration.dto.AddIndependentTaskBusinessProcessingComReqDto;
import com.wicket.okrapp.integration.dto.DeleteProjectBusinessProcessingComRespDto;
import com.wicket.okrapp.integration.dto.DeleteProjectBusinessProcessingComReqDto;
import com.wicket.okrapp.integration.dto.UpdateProjectBusinessProcessingComRespDto;
import com.wicket.okrapp.integration.dto.UpdateProjectBusinessProcessingComReqDto;
import com.wicket.okrapp.integration.FwAppOfficialDocumentClient;
import com.wicket.okrapp.integration.dto.ObtainMainBodyObjectComRespDto;
import com.wicket.okrapp.integration.dto.ObtainMainBodyObjectComReqDto;
import com.wicket.okrapp.integration.dto.QueryOfficialDocumentDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryOfficialDocumentDetailComReqDto;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrapp.integration.dto.UpdateIndependentTaskBusinessProcessingComRespDto;
import com.wicket.okrapp.integration.dto.UpdateIndependentTaskBusinessProcessingComReqDto;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrapp.integration.dto.QueryConfItemMatchAnswerDetailComReqDto;
import com.wicket.okrcomponent.integration.dto.QueryMessageDetailComRespDto;
import com.wicket.okrcomponent.integration.dto.QueryMessageDetailComReqDto;
import com.wicket.okrapp.integration.dto.ImplementUpdateIndependentTaskRespDto;
import com.wicket.okrapp.integration.dto.ImplementUpdateIndependentTaskReqDto;
import com.wicket.okrapp.integration.dto.ImplementUpdateProjectRespDto;
import com.wicket.okrapp.integration.dto.ImplementUpdateProjectReqDto;
import com.wicket.okrapp.integration.dto.ImplementContentStateConversionComRespDto;
import com.wicket.okrapp.integration.dto.ImplementContentStateConversionComReqDto;
import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComRespDto;
import com.wicket.okrapp.integration.dto.ImplementTobesignConversionComRespDto;
import com.wicket.okrapp.integration.dto.ImplementTobesignConversionComReqDto;
import com.wicket.okrapp.integration.dto.QueryVirtualOrgDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryVirtualOrgDetailComReqDto;
import com.wicket.okrapp.integration.dto.JudgeGenerateDeptLeaderVirtualOrgMemberComRespDto;
import com.wicket.okrapp.integration.dto.JudgeGenerateDeptLeaderVirtualOrgMemberComReqDto;
import com.wicket.okrapp.integration.dto.QueryDifferentWorkTasksDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryDifferentWorkTasksDetailComReqDto;
import com.wicket.okrapp.integration.dto.ImplementDynamicOptPermissionJudgmentReceiptSignRespDto;
import com.wicket.okrapp.integration.dto.ImplementDynamicOptPermissionJudgmentReceiptSignReqDto;
import com.wicket.okrapp.integration.FwAppTargetContentClient;
import com.wicket.okrapp.integration.dto.QueryPublicTargetCycleDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryPublicTargetCycleDetailComReqDto;
import com.wicket.okrframework.integration.FwBaseSystemTestDomainClient;
import com.wicket.okrframework.integration.dto.QuerySingleInductionRecordIdDetailComRespDto;
import com.wicket.okrframework.integration.dto.QuerySingleInductionRecordIdDetailComReqDto;
import com.wicket.okrapp.integration.dto.QuerySourceOfWorkTaskListRespDto;
import com.wicket.okrapp.integration.dto.QuerySourceOfWorkTaskListReqDto;
import com.wicket.okrbff.biz.service.dto.common.BffWorkTaskSourceDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskMgtScreenConditionListRespDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskMgtScreenConditionListReqDto;
import com.wicket.okrbff.biz.service.dto.common.BffWorkTaskMgtScreenConditionDto;
import com.wicket.okrbff.biz.service.dto.common.BffTaskStatusDto;
import com.wicket.okrapp.integration.dto.BottomUpdateNumberContentStatusMessagesComRespDto;
import com.wicket.okrapp.integration.dto.BottomUpdateNumberContentStatusMessagesComReqDto;
import com.wicket.okrapp.integration.dto.ImplementStartWorkTasksAheadScheduleComRespDto;
import com.wicket.okrapp.integration.dto.ImplementStartWorkTasksAheadScheduleComReqDto;
import com.wicket.okrapp.integration.FwAppDivineDataClient;
import com.wicket.okrapp.integration.FwAppInterfaceModeClient;
import com.wicket.okrapp.integration.dto.ObtainReceiveFieldComRespDto;
import com.wicket.okrapp.integration.dto.ObtainReceiveFieldComReqDto;
import com.wicket.okrapp.integration.dto.ImplementConcurrentBehaviorThemeLockComRespDto;
import com.wicket.okrapp.integration.dto.ImplementConcurrentBehaviorThemeLockComReqDto;
import com.wicket.okrapp.integration.dto.BatchAddIndependentTaskBusinessProcessingComRespDto;
import com.wicket.okrapp.integration.dto.BatchAddIndependentTaskBusinessProcessingComReqDto;
import com.wicket.okrapp.integration.dto.PrincipalInductionIdDto;
import com.wicket.okrapp.integration.dto.CycleStageAttaPicDto;
import com.wicket.okrapp.integration.dto.CycleStageDataAttDocDto;
import com.wicket.okrframework.integration.FwBaseOrgDictionaryClient;
import com.wicket.okrframework.integration.dto.QueryWorkTaskSourceDetailComRespDto;
import com.wicket.okrframework.integration.dto.QueryWorkTaskSourceDetailComReqDto;
import com.wicket.okrapp.integration.dto.ImplementGenerateDeptLeaderVirtualOrgMemberComRespDto;
import com.wicket.okrapp.integration.dto.ImplementGenerateDeptLeaderVirtualOrgMemberComReqDto;
import com.wicket.okrapp.integration.dto.QueryTaskCategoriesCycleThemeListRespDto;
import com.wicket.okrapp.integration.dto.QueryTaskCategoriesCycleThemeListReqDto;
import com.wicket.okrbff.biz.service.dto.common.BffTaskCategoriesThemeDto;
import com.wicket.okrapp.integration.dto.ImplementWrokTaskReportBusinessProcessRespDto;
import com.wicket.okrapp.integration.dto.ImplementWrokTaskReportBusinessProcessReqDto;
import com.wicket.okrapp.integration.FwAppCycleStageDataClient;
import com.wicket.okrapp.integration.FwAppTargetContComClient;
import com.wicket.okrapp.integration.dto.QueryCycleStageDataDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryCycleStageDataDetailComReqDto;
import com.wicket.okrapp.integration.dto.QueryTargetObjectiveDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryTargetObjectiveDetailComReqDto;
import com.wicket.okrapp.integration.dto.QueryWrokTaskByTimeRangeListComRespDto;
import com.wicket.okrapp.integration.dto.QueryWrokTaskByTimeRangeListComReqDto;
import com.wicket.okrframework.integration.dto.BatchQueryInductionRecordListComRespDto;
import com.wicket.okrframework.integration.dto.BatchQueryInductionRecordListComReqDto;
import com.wicket.okrapp.integration.FwAppCustomExecutionCycleClient;
import com.wicket.okrapp.integration.dto.QueryEvaObjTargetCycleEqualStartAndGreaterDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryEvaObjTargetCycleEqualStartAndGreaterDetailComReqDto;
import com.wicket.okrapp.integration.dto.QueryVirtualOrgMemberDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryVirtualOrgMemberDetailComReqDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskReportStageDataListRespDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskReportStageDataListReqDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskReportStageDataDetailRespDto;
import com.wicket.okrapp.integration.dto.QueryWorkTaskReportStageDataDetailReqDto;
import com.wicket.okrapp.integration.FwAppDashboardWorkTaskClient;
import com.wicket.okrapp.integration.dto.QueryTimeStatisticsTasksListComRespDto;
import com.wicket.okrapp.integration.dto.QueryTimeStatisticsTasksListComReqDto;
import com.wicket.okrapp.integration.FwAppEvaCalcClient;
import com.wicket.okrapp.integration.dto.QueryTargetAttributionCycleDetailComRespDto;
import com.wicket.okrapp.integration.dto.QueryTargetAttributionCycleDetailComReqDto;
import com.wicket.okrbff.biz.service.dto.common.BffDataListAllPathDto;
import com.wicket.okrbff.common.dto.TreeNode;
import com.wicket.okrapp.integration.dto.AnalysisWorkTaskAlignmentTargetContentCycleComRespDto;
import com.wicket.okrapp.integration.dto.AnalysisWorkTaskAlignmentTargetContentCycleComReqDto;
import com.wicket.okrapp.integration.dto.AnalysisWorkTaskAlignmentTargetTreeTypeComRespDto;
import com.wicket.okrapp.integration.dto.AnalysisWorkTaskAlignmentTargetTreeTypeComReqDto;

/**
 * @author ：
 * @date ：
 * 
 *
 * @version 1.0
 */
@Api(value = "WorkTasks", tags = { "WorkTasks" })
@RestController
// @RequestMapping("/oms/workTasks/")
public class WorkTasksController {

  @Autowired
  WorkTasksService workTasksService;
/**
   * B3查询工作任务列表
   * gen by moon at 11/8/2023, 4:07:05 PM
   */
    @PostMapping("/oms/workTasks/queryWorkTaskList")
    @ApiOperation(value = "B3查询工作任务列表", response = OkrResult.class)
    public OkrResult<BffQueryWorkTaskListRespDto> queryWorkTaskList(@RequestBody(required=false) @Validated BffQueryWorkTaskListReqDto reqDTO){
        return OkrResult.success(workTasksService.queryWorkTaskList(reqDTO));
    }
/**
   * B3新增协同任务
   * gen by moon at 11/8/2023, 4:23:58 PM
   */
    @PostMapping("/oms/workTasks/addProject")
    @ApiOperation(value = "B3新增协同任务", response = OkrResult.class)
    public OkrResult<BffAddProjectRespDto> addProject(@RequestBody(required=false) @Validated BffAddProjectReqDto reqDTO){
        return OkrResult.success(workTasksService.addProject(reqDTO));
    }
/**
   * B3新增独立任务或子任务
   * gen by moon at 11/8/2023, 4:24:01 PM
   */
    @PostMapping("/oms/workTasks/addIndependentTask")
    @ApiOperation(value = "B3新增独立任务或子任务", response = OkrResult.class)
    public OkrResult<BffAddIndependentTaskRespDto> addIndependentTask(@RequestBody(required=false) @Validated BffAddIndependentTaskReqDto reqDTO){
        return OkrResult.success(workTasksService.addIndependentTask(reqDTO));
    }
/**
   * B3查询协同任务详情
   * gen by moon at 11/8/2023, 4:24:04 PM
   */
    @PostMapping("/oms/workTasks/queryProjectDetail")
    @ApiOperation(value = "B3查询协同任务详情", response = OkrResult.class)
    public OkrResult<BffQueryProjectDetailRespDto> queryProjectDetail(@RequestBody(required=false) @Validated BffQueryProjectDetailReqDto reqDTO){
        return OkrResult.success(workTasksService.queryProjectDetail(reqDTO));
    }
/**
   * B3删除协同任务(管理)
   * gen by moon at 11/8/2023, 4:24:07 PM
   */
    @PostMapping("/oms/workTasks/deleteProject")
    @ApiOperation(value = "B3删除协同任务(管理)", response = OkrResult.class)
    public OkrResult<BffDeleteProjectRespDto> deleteProject(@RequestBody(required=false) @Validated BffDeleteProjectReqDto reqDTO){
        return OkrResult.success(workTasksService.deleteProject(reqDTO));
    }
/**
   * B3存档协同任务
   * gen by moon at 11/8/2023, 4:24:10 PM
   */
    @PostMapping("/oms/workTasks/archiveProject")
    @ApiOperation(value = "B3存档协同任务", response = OkrResult.class)
    public OkrResult<BffArchiveProjectRespDto> archiveProject(@RequestBody(required=false) @Validated BffArchiveProjectReqDto reqDTO){
        return OkrResult.success(workTasksService.archiveProject(reqDTO));
    }
/**
   * B3修改协同任务
   * gen by moon at 11/8/2023, 4:24:13 PM
   */
    @PostMapping("/oms/workTasks/updateProject")
    @ApiOperation(value = "B3修改协同任务", response = OkrResult.class)
    public OkrResult<BffUpdateProjectRespDto> updateProject(@RequestBody(required=false) @Validated BffUpdateProjectReqDto reqDTO){
        return OkrResult.success(workTasksService.updateProject(reqDTO));
    }
/**
   * B3修改独立任务或子任务
   * gen by moon at 11/8/2023, 4:24:16 PM
   */
    @PostMapping("/oms/workTasks/updateIndependentTask")
    @ApiOperation(value = "B3修改独立任务或子任务", response = OkrResult.class)
    public OkrResult<BffUpdateIndependentTaskRespDto> updateIndependentTask(@RequestBody(required=false) @Validated BffUpdateIndependentTaskReqDto reqDTO){
        return OkrResult.success(workTasksService.updateIndependentTask(reqDTO));
    }
/**
   * B3查询独立任务详情
   * gen by moon at 11/8/2023, 4:24:25 PM
   */
    @PostMapping("/oms/workTasks/queryIndependentTaskDetail")
    @ApiOperation(value = "B3查询独立任务详情", response = OkrResult.class)
    public OkrResult<BffQueryIndependentTaskDetailRespDto> queryIndependentTaskDetail(@RequestBody(required=false) @Validated BffQueryIndependentTaskDetailReqDto reqDTO){
        return OkrResult.success(workTasksService.queryIndependentTaskDetail(reqDTO));
    }
/**
   * B3删除独立任务
   * gen by moon at 11/8/2023, 4:24:28 PM
   */
    @PostMapping("/oms/workTasks/deleteIndependentTask")
    @ApiOperation(value = "B3删除独立任务", response = OkrResult.class)
    public OkrResult<BffDeleteIndependentTaskRespDto> deleteIndependentTask(@RequestBody(required=false) @Validated BffDeleteIndependentTaskReqDto reqDTO){
        return OkrResult.success(workTasksService.deleteIndependentTask(reqDTO));
    }
/**
   * B3存档独立任务
   * gen by moon at 11/8/2023, 4:24:31 PM
   */
    @PostMapping("/oms/workTasks/archiveIndependentTask")
    @ApiOperation(value = "B3存档独立任务", response = OkrResult.class)
    public OkrResult<BffArchiveIndependentTaskRespDto> archiveIndependentTask(@RequestBody(required=false) @Validated BffArchiveIndependentTaskReqDto reqDTO){
        return OkrResult.success(workTasksService.archiveIndependentTask(reqDTO));
    }
/**
   * B3-提交工作任务汇报
   * gen by moon at 11/10/2023, 4:15:43 AM
   */
    @PostMapping("/oms/workTasks/commitReportWorkTaskProgress")
    @ApiOperation(value = "B3-提交工作任务汇报", response = OkrResult.class)
    public OkrResult<BffCommitReportWorkTaskProgressRespDto> commitReportWorkTaskProgress(@RequestBody(required=false) @Validated BffCommitReportWorkTaskProgressReqDto reqDTO){
        return OkrResult.success(workTasksService.commitReportWorkTaskProgress(reqDTO));
    }
/**
   * B3获取高中基层工作任务场景权限
   * gen by moon at 11/12/2023, 10:21:28 PM
   */
    @PostMapping("/oms/workTasks/obtainTopMidBasicScenePower")
    @ApiOperation(value = "B3获取高中基层工作任务场景权限", response = OkrResult.class)
    public OkrResult<BffObtainTopMidBasicScenePowerRespDto> obtainTopMidBasicScenePower(@RequestBody(required=false) @Validated BffObtainTopMidBasicScenePowerReqDto reqDTO){
        return OkrResult.success(workTasksService.obtainTopMidBasicScenePower(reqDTO));
    }
/**
   * B3执行更新独立任务
   * gen by moon at 11/28/2023, 3:57:09 PM
   */
    @PostMapping("/oms/workTasks/implementUpdateIndependentTask")
    @ApiOperation(value = "B3执行更新独立任务", response = OkrResult.class)
    public OkrResult<BffImplementUpdateIndependentTaskRespDto> implementUpdateIndependentTask(@RequestBody(required=false) @Validated BffImplementUpdateIndependentTaskReqDto reqDTO){
        return OkrResult.success(workTasksService.implementUpdateIndependentTask(reqDTO));
    }
/**
   * B3执行更新协同任务
   * gen by moon at 11/28/2023, 3:57:17 PM
   */
    @PostMapping("/oms/workTasks/implementUpdateProject")
    @ApiOperation(value = "B3执行更新协同任务", response = OkrResult.class)
    public OkrResult<BffImplementUpdateProjectRespDto> implementUpdateProject(@RequestBody(required=false) @Validated BffImplementUpdateProjectReqDto reqDTO){
        return OkrResult.success(workTasksService.implementUpdateProject(reqDTO));
    }
/**
   * B3执行内容状态转换
   * gen by moon at 11/29/2023, 9:38:23 PM
   */
    @PostMapping("/oms/workTasks/implementContentStateConversion")
    @ApiOperation(value = "B3执行内容状态转换", response = OkrResult.class)
    public OkrResult<BffImplementContentStateConversionRespDto> implementContentStateConversion(@RequestBody(required=false) @Validated BffImplementContentStateConversionReqDto reqDTO){
        return OkrResult.success(workTasksService.implementContentStateConversion(reqDTO));
    }
/**
   * B3-设置工作任务分管领导
   * gen by moon at 12/2/2023, 12:36:49 AM
   */
    @PostMapping("/oms/workTasks/setWorkTaskDeptLeader")
    @ApiOperation(value = "B3-设置工作任务分管领导", response = OkrResult.class)
    public OkrResult<BffSetWorkTaskDeptLeaderRespDto> setWorkTaskDeptLeader(@RequestBody(required=false) @Validated BffSetWorkTaskDeptLeaderReqDto reqDTO){
        return OkrResult.success(workTasksService.setWorkTaskDeptLeader(reqDTO));
    }
/**
   * B3查询不同工作任务详情
   * gen by moon at 12/3/2023, 6:46:01 PM
   */
    @PostMapping("/oms/workTasks/queryDifferentWorkTasksDetail")
    @ApiOperation(value = "B3查询不同工作任务详情", response = OkrResult.class)
    public OkrResult<BffQueryDifferentWorkTasksDetailRespDto> queryDifferentWorkTasksDetail(@RequestBody(required=false) @Validated BffQueryDifferentWorkTasksDetailReqDto reqDTO){
        return OkrResult.success(workTasksService.queryDifferentWorkTasksDetail(reqDTO));
    }
/**
   * B3执行签收动态操作权限判断
   * gen by moon at 12/10/2023, 4:14:15 PM
   */
    @PostMapping("/oms/workTasks/implementDynamicOptPermissionJudgmentReceiptSign")
    @ApiOperation(value = "B3执行签收动态操作权限判断", response = OkrResult.class)
    public OkrResult<BffImplementDynamicOptPermissionJudgmentReceiptSignRespDto> implementDynamicOptPermissionJudgmentReceiptSign(@RequestBody(required=false) @Validated BffImplementDynamicOptPermissionJudgmentReceiptSignReqDto reqDTO){
        return OkrResult.success(workTasksService.implementDynamicOptPermissionJudgmentReceiptSign(reqDTO));
    }
/**
   * B3-查询工作任务来源列表（新）
   * gen by moon at 12/17/2023, 12:32:44 PM
   */
    @PostMapping("/oms/workTasks/querySourceOfWorkTaskNewList")
    @ApiOperation(value = "B3-查询工作任务来源列表（新）", response = OkrResult.class)
    public OkrResult<BffQuerySourceOfWorkTaskNewListRespDto> querySourceOfWorkTaskNewList(@RequestBody(required=false) @Validated BffQuerySourceOfWorkTaskNewListReqDto reqDTO){
        return OkrResult.success(workTasksService.querySourceOfWorkTaskNewList(reqDTO));
    }
/**
   * B3查工作任务管理筛选条件列表
   * gen by moon at 12/17/2023, 9:46:33 PM
   */
    @PostMapping("/oms/workTasks/queryWorkTaskMgtScreenConditionList")
    @ApiOperation(value = "B3查工作任务管理筛选条件列表", response = OkrResult.class)
    public OkrResult<BffQueryWorkTaskMgtScreenConditionListRespDto> queryWorkTaskMgtScreenConditionList(@RequestBody(required=false) @Validated BffQueryWorkTaskMgtScreenConditionListReqDto reqDTO){
        return OkrResult.success(workTasksService.queryWorkTaskMgtScreenConditionList(reqDTO));
    }
/**
   * B3执行提前开始工作任务
   * gen by moon at 1/6/2024, 7:41:34 PM
   */
    @PostMapping("/oms/workTasks/implementStartWorkTasksAheadSchedule")
    @ApiOperation(value = "B3执行提前开始工作任务", response = OkrResult.class)
    public OkrResult<BffImplementStartWorkTasksAheadScheduleRespDto> implementStartWorkTasksAheadSchedule(@RequestBody(required=false) @Validated BffImplementStartWorkTasksAheadScheduleReqDto reqDTO){
        return OkrResult.success(workTasksService.implementStartWorkTasksAheadSchedule(reqDTO));
    }
/**
   * B3查询工作任务详情
   * gen by moon at 1/25/2024, 8:13:05 PM
   */
    @PostMapping("/oms/workTasks/queryWorkTaskDetail")
    @ApiOperation(value = "B3查询工作任务详情", response = OkrResult.class)
    public OkrResult<BffQueryWorkTaskDetailRespDto> queryWorkTaskDetail(@RequestBody(required=false) @Validated BffQueryWorkTaskDetailReqDto reqDTO){
        return OkrResult.success(workTasksService.queryWorkTaskDetail(reqDTO));
    }
/**
   * B3查询任务分类周期主题列表(管理)
   * gen by moon at 7/24/2024, 10:18:52 PM
   */
    @PostMapping("/oms/mgt/workTasks/queryTaskCategoriesCycleThemeList")
    @ApiOperation(value = "B3查询任务分类周期主题列表(管理)", response = OkrResult.class)
    public OkrResult<BffQueryTaskCategoriesCycleThemeListRespDto> queryTaskCategoriesCycleThemeList(@RequestBody(required=false) @Validated BffQueryTaskCategoriesCycleThemeListReqDto reqDTO){
        return OkrResult.success(workTasksService.queryTaskCategoriesCycleThemeList(reqDTO));
    }
/**
   * B3查询指标下对齐的工作任务列表
   * gen by moon at 8/31/2024, 8:40:40 PM
   */
    @PostMapping("/oms/workTasks/queryObjectiveAlignmentWorkTaskList")
    @ApiOperation(value = "B3查询指标下对齐的工作任务列表", response = OkrResult.class)
    public OkrResult<BffQueryObjectiveAlignmentWorkTaskListRespDto> queryObjectiveAlignmentWorkTaskList(@RequestBody(required=false) @Validated BffQueryObjectiveAlignmentWorkTaskListReqDto reqDTO){
        return OkrResult.success(workTasksService.queryObjectiveAlignmentWorkTaskList(reqDTO));
    }
/**
   * B3查询工作任务单条详情
   * gen by moon at 9/14/2024, 6:47:22 PM
   */
    @PostMapping("/oms/workTasks/queryWorkTaskSingleDetail")
    @ApiOperation(value = "B3查询工作任务单条详情", response = OkrResult.class)
    public OkrResult<BffQueryWorkTaskSingleDetailRespDto> queryWorkTaskSingleDetail(@RequestBody(required=false) @Validated BffQueryWorkTaskSingleDetailReqDto reqDTO){
        return OkrResult.success(workTasksService.queryWorkTaskSingleDetail(reqDTO));
    }
/**
   * B3查询工作任务汇报资料列表
   * gen by moon at 9/15/2024, 12:23:29 PM
   */
    @PostMapping("/oms/workTasks/queryWorkTaskReportStageDataList")
    @ApiOperation(value = "B3查询工作任务汇报资料列表", response = OkrResult.class)
    public OkrResult<BffQueryWorkTaskReportStageDataListRespDto> queryWorkTaskReportStageDataList(@RequestBody(required=false) @Validated BffQueryWorkTaskReportStageDataListReqDto reqDTO){
        return OkrResult.success(workTasksService.queryWorkTaskReportStageDataList(reqDTO));
    }
/**
   * B3查询工作任务汇报资料详情
   * gen by moon at 9/15/2024, 12:23:37 PM
   */
    @PostMapping("/oms/workTasks/queryWorkTaskReportStageDataDetail")
    @ApiOperation(value = "B3查询工作任务汇报资料详情", response = OkrResult.class)
    public OkrResult<BffQueryWorkTaskReportStageDataDetailRespDto> queryWorkTaskReportStageDataDetail(@RequestBody(required=false) @Validated BffQueryWorkTaskReportStageDataDetailReqDto reqDTO){
        return OkrResult.success(workTasksService.queryWorkTaskReportStageDataDetail(reqDTO));
    }
}
